package com.zbs.framework.dao.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * Created by Zbs
 * 2019-07-16 16:03
 * 创建用户event
 */
@Setter
@Getter
public class UserCreatedEvent extends ApplicationEvent {

    private String acctUuid; // 账户的uuid
    private Long userId;// 用户Id
    private String name; // 姓名

    public UserCreatedEvent(Object source, String acctUuid, Long userId, String name) {
        super(source);
        this.acctUuid = acctUuid;
        this.userId = userId;
        this.name = name;
    }
}
